package com.zhangtai.modules.entity.orgin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 
 * 
 * @author wanwgei
 * @email i@weiwang.com
 * @date 2021-05-19 20:16:28
 */
@Data
@TableName("tb_org_ehr")
public class TbOrgEhrEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private int orgid;
	/**
	 * 
	 */
	private String orgcode;
	/**
	 * 
	 */
	private String orgname;
	/**
	 * 
	 */
	private int parrorgid;
	/**
	 * 
	 */
	private String parrorgname;
	/**
	 * 
	 */
	private String status;
	/**
	 * 
	 */
	private Date updatetime;
	/**
	 * 
	 */
	private int category;
	/**
	 * 
	 */
	private String type;

	private int isdelete;

	private int sort;
	/**
	 *
	 */
	@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
	@TableField(exist = false)
	private List<TbOrgEhrEntity> children;

}
